<template>
    <div class="member">
        <div class="member_top">
            <div class="top_one" v-for="(item,index) in HuiYuan.MemberData" :key="index" style="width: 23%; height: 100%;">
              <div style="width: 100%;height: 50%;"><img style="width: 100%;height: 100%;" :src="item.img" alt=""></div>

              <div style="width: 100%;height: 50%;">
                  <h4 style="">{{ item.title }}</h4>
                  <ul style="line-height: 20px;font-size: 13px;padding-left:17px ;">
                    <li style="list-style-type: disc;color: #e1a456;" v-for="(i, j) in item.chidl" :key="j"><span style="color: #aba9a9;">{{ i }}</span></li>
                  </ul>
              </div>
            </div>
        </div>
        <div class="member_bottom">
           <span>查看不同方案对比 ></span>
        </div>
    </div>
</template>

<script setup lang="ts">
const {HuiYuan} = defineProps({
    HuiYuan:{
        type:Object,
        default:{}as {}
    }
});

</script>

<style scoped lang="scss">
*{
    margin: 0;
    padding: 0;
}
.member{
    width: 880px;
    height: 430px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 3px 1px #ccc;
    position: absolute;
    top: 50px;
    left: -100px;
    color: #000;
    .member_top{
    width: 100%;
    height: 80%;
    box-sizing: border-box;
    padding: 15px 20px;
    display: flex;
    justify-content: space-around;
    .top_one{
        box-sizing: border-box;
         padding: 15px 25px;
    }
    .top_one:hover{
        box-shadow: 0 0 0 1px #509efd;
        border-radius: 10px;
    }
    }
    .member_bottom{
        width: 100%;
        height: 19%;
        border-top: 1px solid #ccc;
        display: flex;
        align-items: center;
        span{
            margin-left: 25px;
        }
        span:hover{
            color: #509efd;
        }
        
    }
}
</style>